#include<stdio.h>
#include "stack.h"
#include<stdlib.h>
#include <crtdbg.h>



void main()
{
	int n,t;
	Stack s;
	stack_create(&s);
	n=23;
	stack_push(&s,(Pointer)n);
	t = (int)stack_peek(&s);
	printf("%d", t );
	stack_destroy(&s);
	system("PAUSE");

	_CrtDumpMemoryLeaks();
}